package com.fpd.model.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: springboot-hecheng
 * @description: 日期
 * @author: zhukunpeng
 * @create: 2019-12-18 15:21
 **/
@Data
public class DateEntity {

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date dateStart;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date dateEnd;
}
